package it.univaq.di.helpdesk.business.model;

import java.io.Serializable;

public class Attachment implements Serializable {
	private int attachmentID;
	private String fileName;
	private String fileContentType;
	private int fileSize;
	private AttachmentData attachmentData;
	private int ticketID;
	
	public Attachment() {
		super();
	}

	public Attachment(int attachmentID, String fileName,
			String fileContentType, int fileSize, AttachmentData attachmentData,
			int ticketID) {
		super();
		this.setAttachmentID(attachmentID);
		this.fileName = fileName;
		this.fileContentType = fileContentType;
		this.fileSize = fileSize;
		this.attachmentData = attachmentData;
		this.ticketID = ticketID;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFileContentType() {
		return fileContentType;
	}

	public void setFileContentType(String fileContentType) {
		this.fileContentType = fileContentType;
	}

	public int getFileSize() {
		return fileSize;
	}

	public void setFileSize(int fileSize) {
		this.fileSize = fileSize;
	}

	public AttachmentData getAttachmentData() {
		return attachmentData;
	}

	public void setAttachmentData(AttachmentData attachmentData) {
		this.attachmentData = attachmentData;
	}

	public void setTicketID(int ticketID) {
		this.ticketID = ticketID;
	}

	public int getTicketID() {
		return ticketID;
	}

	public void setAttachmentID(int attachmentID) {
		this.attachmentID = attachmentID;
	}

	public int getAttachmentID() {
		return attachmentID;
	}
}
